<div id="kvf_exception_base" style="width: 100%; border: 1px solid #000000; background-color: #dddddd; color: #000000; font-size: 14Px;">
<div id="kvf_exception_header" style="font-size: 18Px; font-weight: bold; margin-left: auto; margin-right: auto; text-decoration: underline;">Uncaught Exception</div>
<div id="kvf_exception_body" style="width: 100%;">
<span style="font-weight: bold;">An uncaught <?= get_class($e) ?> occurred.</span><br />
<br />
<span style="font-weight: bold;">Messages</span>:
<?= ($e instanceOf KvfBaseException && count($e->Errors) > 1) ? "<pre>".implode("\n\t", $e->Errors)."</pre>" : $e->getMessage() ?><br />
<span style="font-weight: bold;">File</span>: <?= $e->getFile() ?><br />
<span style="font-weight: bold;">Code</span>: <?= $e->getCode() ?><br />
<span style="font-weight: bold;">KvfUrl</span>: <?= KvfBase::GetKvfUrl() ?><br />
<br />
<a href="#kvf_exception_bta" id="kvf_exception_bta"
  onclick="document.getElementById('kvf_exception_bt').style.display = (document.getElementById('kvf_exception_bt').style.display == 'none') ? '' : 'none' ;">[backtrace]</a>
<div id="kvf_exception_bt" style="display: none;"><pre>
<?= $e->getTraceAsString() ?>
</pre></div></div>
Please email this information and a description of what you were trying to do to <a href="mailto:<?= CONFIG::ADMIN_EMAIL ?>"><?= CONFIG::ADMIN_EMAIL ?></a>.
</div>
